<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<title>集团共享</title>
		<link rel="stylesheet" href="../../plugin/layui/css/layui.css" />
		<link rel="stylesheet" type="text/css" href="../../css/utils.css" />
		<link rel="stylesheet" type="text/css" href="../../css/index.css" />
		<script src="../../plugin/layui/layui.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../plugin/jquery-3.2.1.min.js" type="text/javascript" charset="utf-8"></script>
		<style type="text/css">
			.honor {
				padding-bottom: 30px;
				min-height: 500px;
			}
			
			.honor-list-container {
				padding-top: 30px;
				background: #fff;
			}
			
			.honor-list-box {
				width: 180px;
				height: 190px;
				display: inline-block;
				margin-bottom: 30px;
				margin-left: 30px;
				cursor: pointer;
				border: 1px solid #f1f1f3;
			}
			
			.honor-list-box img {
				width: 180px;
				height: 150px;
				background: #e2e2e2;
			}
			
			.honor-list-box p {
				width: 180px;
				height: 40px;
				display: inline-block;
				background: #fff;
				line-height: 40px;
				text-align: center;
				font-size: 14px;
			}
			
			#honorPage {
				padding-left: 30px;
			}
		</style>
	</head>

	<body>
		<div class="layui-fluid">
			<div class="layui-row header-row">

			</div>
			<div class="honor">
				<div class="pageBg">                                                                                                      
					<div class="pageBg2">                                                                                                 
						<div class="pageBg3">                                                                                             
							<h3>集团共享</h3>                                                                                                 
							<p>Group Share</p>                                                                               
						</div>                                                                                                            
					</div>                                                                                                                
				</div>   
				<div class="honor-list-container limit-width">
					<div class="honor-list">

					</div>
				</div>

			</div>

			<div class="footer-nav">

			</div>

	</body>
	<script src="../../utils/api/index.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../utils/common/index.js" type="text/javascript" charset="utf-8"></script>

</html>
<script type="text/javascript">
	layui.use('laypage', function() {
		var laypage = layui.laypage;
		var workShopType = getRequest().type;

		switch(workShopType) {
			case 'honor':
				getList('2001');
				$('.page-title').text('荣誉资质')
				break
			case 'share':
				getList('2003');
				$('.page-title').text('集团共享')
				break
		}

		function getList(workShopType) {
			$.get(requestUrl.baseUrl + '/' + requestUrl.apiUrl.companyProfile + workShopType, function(data) {
				if(data.code == 0) {
					var primaryResources = data.companyProfile.primaryResources;
					$('.honor-list').html(primaryResources)
				}
			})
		}

	});
</script>